package com.why.amallrest.param;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author wanghongyang24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginParam {

    @NotNull(message = "用户名不能为空")
    private String username;
    @NotNull(message = "密码")
    private String password;
}
